package cn.wolfcode.trip.base.service.impl;

import cn.wolfcode.trip.base.domain.PraiseNumber;
import cn.wolfcode.trip.base.mapper.PraiseNumberMapper;
import cn.wolfcode.trip.base.service.IPraiseNumberService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class PraiseNumberServiceImpl implements IPraiseNumberService {

    @Autowired
    private PraiseNumberMapper praiseNumberMapper;

    @Override
    public PraiseNumber get(Long typeId, Integer type) {
        return praiseNumberMapper.get(typeId, type);
    }
}
